package com.example.kt_base.s4

//TODO 66.Kotlin语言的Map的创建
fun main() {

    //以下两上 map是等价的
    val map1= mapOf("derry" to 1,"lan" to 2,"lisi" to 3)
    val map2= mapOf(Pair("derry",1), Pair("lan",2), Pair("lisi",3))

    println(map1)
    println(map2)

}
